package com.roger.myHome.entity;


import lombok.Data;

import java.io.Serializable;

@Data
public class CourseQTO implements Serializable {

    private Integer currPage;


    private Integer pageSize;

    private int startNum;
    public int getStartNum(){
        return  (currPage - 1 ) *  pageSize;
    }

}
